/*
 *	ApOS (Another Project software for s3c2410)
 *	
 *	This program is free software; you can redistribute it and/or modify
 *	it under the terms of the GNU General Public License version 2 as
 *	published by the Free Software Foundation.
 *			
 *
 */
#include "../include/kernel/prefetch_abort.h"
#include "../include/s3c2410/cpu.h"

void do_prefetch_abort(struct cpu_registers *regs)
{
	unsigned int sfr=read_data_fsr();
	
	printk("prefetch abort.\n");
	printk("fault status register :0x%0x\n",sfr);
	
	panic();
}

void undefined_instruction()
{
	printk("undefined_instruction.\n");
	panic();
}